package cn.chenfyuan.demoapplication.service;

import cn.chenfyuan.demoapplication.entity.Permission;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linweijian
 * @since 2018-08-31
 */
public interface PermissionService extends IService<Permission> {

	Page<Permission> selectPage(Page<Permission> page, Permission vo);
	/**
	 * 根据用户账号获取用户权限
	 * @param account
	 * @return
	 */
	List<String> getPermissionsByAccount(String account);
	
}
